package com.regretbuying.pojo;

import java.io.Serializable;
import java.util.Date;

//订单表
public class Order implements Serializable {
    private String orderNum;              //订单编号
    private int memberId;                //会员编号
    private Date placeOrderTime;        //下单时间
    private double totalPrice;          //订单总金额
    private String address;             //配送地址
    private int orderState;             //订单状态 0-未支付 1-已支付（未发货） 2-已发货（未收货） 3-已收货（完成）

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public Date getPlaceOrderTime() {
        return placeOrderTime;
    }

    public void setPlaceOrderTime(Date placeOrderTime) {
        this.placeOrderTime = placeOrderTime;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getOrderState() {
        return orderState;
    }

    public void setOrderState(int orderState) {
        this.orderState = orderState;
    }
}
